This patch adds new xm subcommands to support working with resource
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 28 Jun 2006 15:05:27 +0000 (16:05 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 28 Jun 2006 15:05:27 +0000 (16:05 +0100)
commitbc6220c19962b7874ab0951572e5af8e82c85156
tree0260fba08b008259d28e6f02647389c51fc0c8e2
parentf5ea9f8ba8b505972219caff4cafcdcfe937a94c
This patch adds new xm subcommands to support working with resource
labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources.  See the xm man page for details on each subcommand.

Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'.  ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
docs/man/xm.pod.1
tools/python/xen/util/security.py
tools/python/xen/xend/server/blkif.py
tools/python/xen/xm/addlabel.py
tools/python/xen/xm/create.py
tools/python/xen/xm/dry-run.py [new file with mode: 0644]
tools/python/xen/xm/getlabel.py [new file with mode: 0644]
tools/python/xen/xm/main.py
tools/python/xen/xm/resources.py [new file with mode: 0644]
tools/python/xen/xm/rmlabel.py [new file with mode: 0644]